import React, { Component } from 'react';
import logo from '../logo.svg';

export default class Logo extends Component {
    render() {
        const mouse = this.props.mouse;
        return (
          <img src={logo} alt='logo' 
            style={{ 
                position: 'absolute', 
                left: mouse.x, 
                top: mouse.y,
                width: '100px',
                height: '100px'
            }} />
        );
    }
}
